package com.vehicle.mapper;

import com.vehicle.pojo.Violation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 违章种类
 */
public interface ViolationMapper {
    /**
     * 查找所有违章类型
     * @return
     */
    public List<Violation> selectAllViolation();
    //根据id查询违章类型
    public Violation selectViolationByVid(@Param("vid") int vid);
}
